package com.ydd.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("分类表")
public class YddCate implements Serializable {

    private Integer id;

    @ApiModelProperty("分类名称")
    private String catename;

    @ApiModelProperty("分类图标")
    private String icon;

    @ApiModelProperty("排序")
    @JsonProperty("sort_num")
    private Integer sortNum;

    @JsonProperty("default_data")
    private String defaultData;


}
